#pragma once

#include "ScriptCompiler/AST/EnumValueNode.h"
#include "ScriptCompiler/ASTBuilder/ASTBuilder.h"

class CEnumValueBuilder : public IASTBuilder
{
public:
    CEnumValueBuilder(std::shared_ptr<CScriptFileContext> InContext,int64_t InEndTokenIndex);

    virtual bool ReadCurentToken() override;

    std::shared_ptr<CEnumValueNode> Result;
protected:
    std::shared_ptr<CScriptFileContext> Context;

    int64_t EndTokenIndex;
};
